package com.github.jspxnet.worktask.service;





public interface HistoryService {

   /* *//**
     * Creates a new programmatic query to search for {@link HistoricProcessInstance}s.
     *//*
    HistoricProcessInstanceQuery createHistoricProcessInstanceQuery();

    *//**
     * Creates a new programmatic query to search for {@link HistoricActivityInstance}s.
     *//*
    HistoricActivityInstanceQuery createHistoricActivityInstanceQuery();

    *//**
     * Creates a new programmatic query to search for {@link HistoricTaskInstance}s.
     *//*
    HistoricTaskInstanceQuery createHistoricTaskInstanceQuery();

    *//** Creates a new programmatic query to search for {@link HistoricDetail}s. *//*
    HistoricDetailQuery createHistoricDetailQuery();

    *//**
     * Returns a new {@link org.activiti.engine.query.NativeQuery} for process definitions.
     *//*
    NativeHistoricDetailQuery createNativeHistoricDetailQuery();

    *//**
     * Creates a new programmatic query to search for {@link HistoricVariableInstance}s.
     *//*
    HistoricVariableInstanceQuery createHistoricVariableInstanceQuery();

    *//**
     * Returns a new {@link org.activiti.engine.query.NativeQuery} for process definitions.
     *//*
    NativeHistoricVariableInstanceQuery createNativeHistoricVariableInstanceQuery();

    *//**
     * Deletes historic task instance. This might be useful for tasks that are {@link TaskService#newTask() dynamically created} and then {@link TaskService#complete(String) completed}. If the historic
     * task instance doesn't exist, no exception is thrown and the method returns normal.
     *//*
    void deleteHistoricTaskInstance(String taskId);

    *//**
     * Deletes historic process instance. All historic activities, historic task and historic details (variable updates, form properties) are deleted as well.
     *//*
    void deleteHistoricProcessInstance(String processInstanceId);

    *//**
     * creates a native query to search for {@link HistoricProcessInstance}s via SQL
     *//*
    NativeHistoricProcessInstanceQuery createNativeHistoricProcessInstanceQuery();

    *//**
     * creates a native query to search for {@link HistoricTaskInstance}s via SQL
     *//*
    NativeHistoricTaskInstanceQuery createNativeHistoricTaskInstanceQuery();

    *//**
     * creates a native query to search for {@link HistoricActivityInstance}s via SQL
     *//*
    NativeHistoricActivityInstanceQuery createNativeHistoricActivityInstanceQuery();

    *//**
     * Retrieves the {@link HistoricIdentityLink}s associated with the given task. Such an {@link IdentityLink} informs how a certain identity (eg. group or user) is associated with a certain task (eg.
     * as candidate, assignee, etc.), even if the task is completed as opposed to {@link IdentityLink}s which only exist for active tasks.
     *//*
    List<HistoricIdentityLink> getHistoricIdentityLinksForTask(String taskId);

    *//**
     * Retrieves the {@link HistoricIdentityLink}s associated with the given process instance. Such an {@link IdentityLink} informs how a certain identity (eg. group or user) is associated with a
     * certain process instance, even if the instance is completed as opposed to {@link IdentityLink}s which only exist for active instances.
     *//*
    List<HistoricIdentityLink> getHistoricIdentityLinksForProcessInstance(String processInstanceId);

    *//**
     * Allows to retrieve the {@link ProcessInstanceHistoryLog} for one process instance.
     *//*
    ProcessInstanceHistoryLogQuery createProcessInstanceHistoryLogQuery(String processInstanceId);*/
}
